home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / appkit.644 < prev    next >
Text File  |  1992-02-06  |  912b  |  33 lines

  1. {\rtf0\ansi{\fonttbl\f2\fnil Times-Roman;\f0\fswiss Helvetica;}
  2. \paperw12740
  3. \paperh8500
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs28 Appkit/Window\
  8.     \
  9. Q:   If I have a window delegate, which method should I use to close the window, the 
  10. \b close:
  11. \b0  method or the 
  12. \b performClose:
  13. \b0  method?\
  14.  
  15. \i     \
  16.  
  17. \i0 A:  The 
  18. \b performClose:
  19. \b0  method should be used instead of 
  20. \b close:
  21. \b0  because it sends a 
  22. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\b\fc0 windowWillClose:
  23. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b0   to its delegate, while the 
  24. \b close:
  25. \b0  method doesn't.   See the documentation in the reference manual about the window class for more information about these two methods.\
  26. \
  27. QA644\
  28. \
  29. Valid for 1.0\
  30. Valid for 2.0\
  31. \
  32.  
  33.